package world.xuewei.dao;

import world.xuewei.model.entity.ShopNotice;
import java.util.List;

/**
 * @author 陈相州
 * @description 针对表【shop_notice】的数据库操作Mapper
 * @createDate 2024-11-28 16:51:17
 */
/**
 * 商家公告表(shop_notice)表数据库访问层
 *
 * @author makejava
 * @since 2024-11-16 00:38:56
 */
public interface ShopNoticeDao {

    // 查询
    List<ShopNotice> getShopNoticeList(Long merchantId);

    // 添加商家公告
    int addShopNotice(ShopNotice shopNotice);

    // 修改状态
    void setIsStatus(Long id);

    // 修改商家公告
    int updateShopNotice(ShopNotice shopNotice);

    // 删除
    int deleteShopNotice(Long id);

    List<ShopNotice> getAllShopNoticeList(Long userId);
}




